package com.example.demo1.mapper;

import com.example.demo1.model.Flight;
import com.example.demo1.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//杨德旭10.19
@Mapper
public interface FlightMapper {
    List<Flight> getFlightList();
    List<Flight> getUserFlight(User user);

    void addSbreth(Flight flight);
    void addBbreth(Flight flight);
}
